package com.book.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 问题反馈表
 * </p>
 *
 * @author auto
 * @since 2025-04-02 06:38:55
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("feedback")
@Schema(name = "Feedback对象", description = "问题反馈表")
public class Feedback {

    @Schema(name = "主键")
    @TableId(value = "feedback_id", type = IdType.ASSIGN_UUID)
    private String feedbackId;

    @Schema(name = "用户ID（提出人）")
    @TableField("user_id")
    private String userId;

    @Schema(name = "反馈内容")
    @TableField("feedback_content")
    private String feedbackContent;

    @Schema(name = "反馈时间")
    @TableField("feedback_date")
    private Date feedbackDate;

    @Schema(name = "状态编码")
    @TableField("status_code")
    private String statusCode;

    @Schema(name = "状态名称")
    @TableField("status_name")
    private String statusName;

    @Schema(name = "处理信息")
    @TableField("deal_message")
    private String dealMessage;

    @Schema(name = "创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @Schema(name = "修改时间")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
